package com.lh.springcloud.alibaba.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.lh.springcloud.alibaba.domain.CommonResult;

public class OrderBlockHandler {

    public static CommonResult queryException(BlockException exception){
        return new CommonResult(500,"查询出现问题，请去控制台查看结果");
    }

    public static CommonResult createException(BlockException exception){
        return new CommonResult(500,"创建订单出现问题，请去控制台查看结果");
    }
}
